<{include file="db:`$mydirname`_mobile_header.html"}>

<{if $link}>


<hr />

<b><{$link.title}></b>
<{if $link.new == 1}>&nbsp;<img src="<{$myurl}>/images/new.gif" /><{/if}>
<{if $link.new == 2}>&nbsp;<img src="<{$myurl}>/images/new.gif" /><{/if}>
<{if $link.pop}>&nbsp;<img src="<{$myurl}>/images/pop.gif" /><{/if}>
<br />

<div style="text-align:center;color:#999;font-size:86%;">
<{if $screen_shot}>
  <{if $link.url}>
    <{if $link.adult}>
      <img src="<{$myurl}>/images/warning64.gif" alt="<{$link.title}>" />
    <{else}>
      <{if $link.capture}>
        <img src="<{$cache_url}>/<{$link.lid}>.jpg" />
        <br />
        PC SITE CAPTURE<br />
      <{else}>
        <{if $screenshotservice}>
          <img src="<{$screenshotservice}><{$link.url}>" width="64" height="64" />
          <br />
          PC SITE CAPTURE<br />
        <{else}>
          <img src="<{$myurl}>/images/cancel64.gif" />
        <{/if}>
      <{/if}>
    <{/if}>
  <{/if}>
<{/if}>
</div>

<{if $link.url}>
  Link : 
  <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=visit p_key1=lid p_val1=$link.lid}>" style="font-size:120%;">PC</a>
<{/if}>
<{if $link.murl}>
  <{if $link.url}> | <{else}>Link : <{/if}>
  <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=visit method=mobile p_key1=lid p_val1=$link.lid}>">MOBILE</a>
<{/if}>
<br />

<div style="margin:8px 0;border-bottom:1px solid #999;border-top:1px solid #999;padding:4px;">
  <b><{$smarty.const._MD_CATEGORY}></b><br />
  <ul style="margin:0;list-style-position:outside;padding:0 0 0 16px;">
    <{foreach item=cat from=$link.category name=i}>
      <li><{$cat}></li>
    <{/foreach}>
  </ul>
</div>

<{if $link.description}>
  <div style="text-align: justify;border-bottom:1px solid #999;margin:6px 0;">
    <b><{$smarty.const._MD_DESCRIPTIONC}></b><br />
    <{$link.description}>
  </div>
<{/if}>

<{$smarty.const._MD_ACCS}> <{$link.access}> | 
<{$smarty.const._MD_HITS}> <{$link.hits}><br />
<{if $rating_type == 1}>
  <{$smarty.const._MD_RATING}><{$link.rating|number_format:2}> (<{$link.votes}>)<br />
<{elseif $rating_type == 2}>
  <{$smarty.const._MD_RATING_TYPE_2_LANG}> <{$link.votes_num}><br />
<{/if}>

<a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=broken p_key1=lid p_val1=$link.lid}>"><{$smarty.const._MD_REPORTBROKEN}></a><br />
<{if $request_perm}>
  <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=request p_key1=lid p_val1=$link.lid}>"><{$smarty.const._MD_REQUESTMOD}></a><br />
<{/if}>
<a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=rating p_key1=lid p_val1=$link.lid}>"><{$smarty.const._MD_RATETHISSITE}></a><br />
<a target="_top" href="mailto:?subject=<{$link.mail_subject}>&amp;body=<{$link.mail_body}>"><{$smarty.const._MD_TELLAFRIEND}></a><br />
<{* <!-- d3forum comment integration COMMENT COUNT--> *}>
<{if $comment_dirname && $comment_forum_id }>
  <{*
  <{$smarty.const._MD_COMMENT_INTEGRATION}>(<{d3comment mydirname=$mydirname comment_dirname=$comment_dirname forum_id=$comment_forum_id id=$link.lid  class=linksCommentContent mode=count}>)
  *}>
<{/if}>

<div style="border-top:1px solid #999;margin:6px 0;">
  <{$smarty.const._MD_SUBMITTER}> 
  <{if $link.submitter gt 0 }>
    <a href="<{my_make_uri option=$uri_options mydirname=$mydirname method=user p_key1=uid p_val1=$link.submitter}>"><{$link.submitterName}></a>
    <a href="<{$xoops_url}>/userinfo.php?uid=<{$link.submitter}>"><img src="<{$myurl}>/images/information.png" style="vertical-align:text-top" /></a>
  <{else}>
    <{$link.submitterName}>
  <{/if}>
  <{if $link.adminlink}>
     | <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=edit p_key1=lid p_val1=$link.lid}>"><img src="<{$myurl}>/images/page_edit.gif" style="vertical-align:text-top" /><{$smarty.const._MD_MODIFY}></a>
  <{/if}>
  <br />
  <{$smarty.const._MD_LASTUPDATEC}> : <{$link.date|formatTimestamp:"m"}>
</div>

<hr />


<div style="text-align:center;"><{$nav}></div>


<{*
<!-- d3forum comment integration COMMENT FORM-->
<{if $comment_dirname && $comment_forum_id }>
  <{d3comment mydirname=$mydirname comment_dirname=$comment_dirname forum_id=$comment_forum_id id=$link.lid subject=$link.title class=linksCommentContent}>
<{/if}>
*}>


<{/if}>

<{include file="db:`$mydirname`_mobile_footer.html"}>